#pragma once

#include "IDocumentSetting.h"

class DocumentSetting : public DataEntity<IDocumentSetting>
{
public:
	BEGIN_DEFINE_CLASS(CLSID_DocumentSetting)
		USE_INTERFACE_ENTRY(DataEntity<IDocumentSetting>)
		DEFINE_INTERFACE_ENTRY(IDocumentSetting)
	END_DEFINE_CLASS()

	DocumentSetting();
	virtual ~DocumentSetting();

	virtual String GetEntityName() const{return L"DocumentSetting";}

	property_implement(real,PageLeftMargin,0x0001);
	property_implement(real,PageTopMargin,0x0002);
	property_implement(real,PageRightMargin,0x0004);
	property_implement(real,PageBottomMargin,0x0008);
	property_implement(real,PageWidth,0x0010);
	property_implement(real,PageHeight,0x0020);
};

AUTO_REGISTER_CLASSMAP_ENTRY(DocumentSetting)